PrintLineObject

data class PrintLineObject(val data: String? = null, val printLineProperties: PrintLineProperties? = null) : PrintObject

A data class that holds the info for the object to be printed. Only data is mandatory, the other properties are optional. When only data passed a default layout settings depending on device will be taken.

Constructors

Link copied to clipboard
constructor(data: String? = null, printLineProperties: PrintLineProperties? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
val data: String? = null

This is the text to be printed on one line

Link copied to clipboard

The type of the print object (e.g., LINE, EMPTY_LINE, etc.).

Link copied to clipboard

These are the layout properties for the text to be printed,

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
open override fun writeToParcel(parcel: Parcel, flags: Int)